home *** CD-ROM | disk | FTP | other *** search
- on mouseDown me
- global gButtonDN
- gButtonDN = me
- set the castLibNum of sprite the spriteNum of me to castLib("butDN").number
- updateStage()
- end
-
- on mouseUp me
- global gButtonDN
- gButtonDN = 0
- set the castLibNum of sprite the spriteNum of me to castLib("butN").number
- updateStage()
- if the frame = (label("base") + 1) then
- go("eindscherm")
- else
- if the frame = (label("eindscherm") + 1) then
- go("credits")
- else
- go("base")
- end if
- end if
- end
-
- on mouseUpOutSide me
- global gButtonDN
- gButtonDN = 0
- set the castLibNum of sprite the spriteNum of me to castLib("butN").number
- updateStage()
- end
-
- on mouseEnter me
- global gButtonDN
- if gButtonDN = me then
- set the castLibNum of sprite the spriteNum of me to castLib("butDN").number
- else
- set the castLibNum of sprite the spriteNum of me to castLib("butRO").number
- end if
- updateStage()
- end
-
- on mouseLeave me
- set the castLibNum of sprite the spriteNum of me to castLib("butN").number
- updateStage()
- end
-